<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="file:///android_asset/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="file:///android_asset/highcharts.js"></script>
<script type="text/javascript" src="file:///android_asset/exporting.js"></script>
<script type="text/javascript" src="file:///android_asset/funnel.js"></script>
  <script type="text/javascript">
   var data1 =$data;
    $(function () { 
    $('#container').highcharts({
        chart: {
            type: 'funnel',
             backgroundColor: '#B8B8B8',
            marginRight: 130
        },
        title:{
         text:'',
         x:-50
        },
        plotOptions: {
            series: {
             cursor: 'pointer',
               events: {
	          	  click: function() {
	          	     javascript:demo.clickOnAndroid(event.point.series.data[event.point.x].name);
	          	}
	          },
                dataLabels: {
                    enabled: true,
                    format: '<b>{point.name}</b> ({point.y:,.0f})',
                    color: 'black',
                    softConnector: true
                },
                neckWidth: '20%',
                neckHeight: '10%'

                //-- Other available options
                // height: pixels or percent
                // width: pixels or percent
            }
        },
		 credits:{
        	enabled:false
        },
		 exporting:{
        	enabled:false
        },
      legend: {
            layout: 'vertical',
            align: 'right',
            verticalAlign: 'middle',
                  itemStyle : {
        'fontSize' : '38px'
    },
            borderWidth:0
        },
        series: [{
            name: '数量（个）',
            data: data1
        }]
    });
});
				
  </script>
</head>
<body>
  <div id="container" style="min-width:300px;height:200px"></div>

</body>
</html>